<?php
/**
 * To inlclude all APP library
 * @author Panthro
 */
include 'lib/application.lib.php';

/**
 * Defines all application static fields
 * @author Panthro
 */
/**
 * 
 * @var Application
 */
$Application =  new Application();


/**
 * verify if the userid is set on cookies
 */
$userid = null;
if(isset($_COOKIE["t2puserid"])){
	$userid = $_COOKIE["t2puserid"];
}

$UserInformation = new UserInformation($userid);


if($UserInformation->exists()){
		$UserInformation->setToken($UserInformation->dao->token,$UserInformation->dao->secret);
		$response = $UserInformation->get_accountVerify_credentials();
		$UserInformation->data = $response; 	
}





